package cn.lycode.system.domain.dto.sysmenu;

import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * SysMenuAddDTO
 *
 * @author sz
 * @since 2023/8/21
 */
@Data
public class SysMenuAddDTO {
    private Long pid;

    @NotNull(message = "菜单名称不能为空")
    private String title; //菜单名称不能为空

    private String path; //路径
    private String name; //路径名
    private String icon; //icon图标
    private String component; //组件路径
    private String redirect; //redirect地址
    private Integer menuSort; //排序
    private Integer deep; //层级
    private String menuType; //菜单类型
    private String perms; //按钮权限
    private String isHidden;
    private String hasChildren;
    private String isLink;
    private String isFull;
    private String isAffix;
    private String isCache;
}
